package lab02.test15;

public class Test {
    public static void main(String[] args) {
        //创建一个姓名为“zhangsan”的研究生
        Graduate zhangsan = new Graduate();
        if (zhangsan.getPay() - zhangsan.getFee() < 20000) {


            System.out.println("you need a loan!");
        } else {
            System.out.println("you income is enough!");
        }
    }
}